#include <bits/stdc++.h>
#include "BigInteger.h"
int main(int argc, char *argv[]) {
  BigInteger a{"32142342353452463456345754432534523453456456756567856785678564456234123442323453452345684568"};

  cout<<double(a)<<endl;
  cout<<a<<endl;
  cout<<a/3.0<<endl;
  return 0;
  int correct = 0;
  int summary = 0;
  ifstream is(argv[1]);
  string line_buffer;
  string ai, bi;
  string di;
  BigInteger res;
  char ci;
  while (is.good() and !is.eof()) {
	getline(is, line_buffer);
	stringstream ss(line_buffer);
	ss >> ai >> ci >> bi >> di;
	BigInteger a{ai}, b{bi}, d{ci};
	switch (ci) {
	  case '+': res = a + b;
		break;
	  case '-': res = a - b;
		break;
	  case '*': res = a * b;
		break;
/*	  case '/': res = a / b;
		break;*/
	  default: cout << "error: not supported operator" << endl;
		continue;
	}
	summary++;
	cout << ai << ' ' << ci << ' ' << bi << " = " << di << " == " << res.ToString();
	if (res.ToString() == di) {
	  cout << "\033[32m\tOK\033[0m";
	  correct++;
	} else {
	  cout << "\033[31m\tFailed\033[0m";
	}
	cout << endl;
  }
  cout << summary << " is tested,\t" << correct << "passed\n" << endl;

}
